﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002BF RID: 703
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueUpdateActionPointScNotify : IMessage<ChessRogueUpdateActionPointScNotify>, IMessage, IEquatable<ChessRogueUpdateActionPointScNotify>, IDeepCloneable<ChessRogueUpdateActionPointScNotify>, IBufferMessage
	{
		// Token: 0x1700092E RID: 2350
		// (get) Token: 0x06001F94 RID: 8084 RVA: 0x0005A185 File Offset: 0x00058385
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueUpdateActionPointScNotify> Parser
		{
			get
			{
				return ChessRogueUpdateActionPointScNotify._parser;
			}
		}

		// Token: 0x1700092F RID: 2351
		// (get) Token: 0x06001F95 RID: 8085 RVA: 0x0005A18C File Offset: 0x0005838C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueUpdateActionPointScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000930 RID: 2352
		// (get) Token: 0x06001F96 RID: 8086 RVA: 0x0005A19E File Offset: 0x0005839E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueUpdateActionPointScNotify.Descriptor;
			}
		}

		// Token: 0x06001F97 RID: 8087 RVA: 0x0005A1A5 File Offset: 0x000583A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateActionPointScNotify()
		{
		}

		// Token: 0x06001F98 RID: 8088 RVA: 0x0005A1AD File Offset: 0x000583AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateActionPointScNotify(ChessRogueUpdateActionPointScNotify other) : this()
		{
			this.actionPoint_ = other.actionPoint_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001F99 RID: 8089 RVA: 0x0005A1D2 File Offset: 0x000583D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateActionPointScNotify Clone()
		{
			return new ChessRogueUpdateActionPointScNotify(this);
		}

		// Token: 0x17000931 RID: 2353
		// (get) Token: 0x06001F9A RID: 8090 RVA: 0x0005A1DA File Offset: 0x000583DA
		// (set) Token: 0x06001F9B RID: 8091 RVA: 0x0005A1E2 File Offset: 0x000583E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int ActionPoint
		{
			get
			{
				return this.actionPoint_;
			}
			set
			{
				this.actionPoint_ = value;
			}
		}

		// Token: 0x06001F9C RID: 8092 RVA: 0x0005A1EB File Offset: 0x000583EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueUpdateActionPointScNotify);
		}

		// Token: 0x06001F9D RID: 8093 RVA: 0x0005A1F9 File Offset: 0x000583F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueUpdateActionPointScNotify other)
		{
			return other != null && (other == this || (this.ActionPoint == other.ActionPoint && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001F9E RID: 8094 RVA: 0x0005A228 File Offset: 0x00058428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ActionPoint != 0)
			{
				num ^= this.ActionPoint.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001F9F RID: 8095 RVA: 0x0005A267 File Offset: 0x00058467
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001FA0 RID: 8096 RVA: 0x0005A26F File Offset: 0x0005846F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001FA1 RID: 8097 RVA: 0x0005A278 File Offset: 0x00058478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ActionPoint != 0)
			{
				output.WriteRawTag(88);
				output.WriteInt32(this.ActionPoint);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001FA2 RID: 8098 RVA: 0x0005A2AC File Offset: 0x000584AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ActionPoint != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.ActionPoint);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001FA3 RID: 8099 RVA: 0x0005A2EA File Offset: 0x000584EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueUpdateActionPointScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ActionPoint != 0)
			{
				this.ActionPoint = other.ActionPoint;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001FA4 RID: 8100 RVA: 0x0005A31B File Offset: 0x0005851B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001FA5 RID: 8101 RVA: 0x0005A324 File Offset: 0x00058524
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ActionPoint = input.ReadInt32();
				}
			}
		}

		// Token: 0x04000D05 RID: 3333
		private static readonly MessageParser<ChessRogueUpdateActionPointScNotify> _parser = new MessageParser<ChessRogueUpdateActionPointScNotify>(() => new ChessRogueUpdateActionPointScNotify());

		// Token: 0x04000D06 RID: 3334
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D07 RID: 3335
		public const int ActionPointFieldNumber = 11;

		// Token: 0x04000D08 RID: 3336
		private int actionPoint_;
	}
}
